package refactor.mapper;

import app.nbdevices.api.dto.DevInfoDto;
import refactor.entity.Device;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 记录各个系统模块设备的相关信息 Mapper 接口
 * </p>
 *
 * @author 杨健
 * @since 2019-08-19
 */
public interface DeviceMapper extends BaseMapper<Device> {
        int lotInsertDevice(List<Device> devList);
        List<DevInfoDto> getDevInfoList();
        List<Map<String,Object>> getEleRead(List<Integer> ids);
        List<Map<String,Object>> getWaterRead(List<Integer> ids);
        List<Map<String,Object>> getMenjinRead(List<Integer> ids);
        List<Map<String,Object>> getYanganRead(List<Integer> ids);
        //List<String> selectCodes();
}
